// 全局共享数据示例
import { DEFAULT_USERID } from '@/constants';
import { useState } from 'react';

const useUser = () => {
  const [userId, setUserId] = useState<string>(DEFAULT_USERID);
  return {
    userId,
    setUserId,
  };
};

export default useUser;
